precision mediump float;

uniform sampler2D uTexture;

varying float vAltitude;
varying vec2 vUv;

void main() {
  vec4 color = texture2D(uTexture, vUv);
  color.rgb *= (vAltitude + 40.) / 80. * 1.5;
  gl_FragColor = vec4(color);
}